package com.app.common;

import java.util.HashSet;
import java.util.Set;

/**
 * City entity. @author MyEclipse Persistence Tools
 */

public class City implements java.io.Serializable {

	// Fields

	private Integer id;
	private String cityName;
	private String cityNum;
	Set<Weather> weather = new HashSet<Weather>();

	// Constructors

	/** default constructor */
	public City() {
	}

	public Set<Weather> getWeather() {
		return weather;
	}

	public void setWeather(Set<Weather> weather) {
		this.weather = weather;
	}

	/** full constructor */
	public City(String cityName, String cityNum) {
		this.cityName = cityName;
		this.cityNum = cityNum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCityName() {
		return this.cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCityNum() {
		return this.cityNum;
	}

	public void setCityNum(String cityNum) {
		this.cityNum = cityNum;
	}

}